# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-zope-testing
_pkgname=zope.testing
pkgver=4.7
pkgrel=1
pkgdesc="Zope testing helpers"
url="https://github.com/zopefoundation/zope.testing"
arch="noarch"
license="ZPL-2.1"
depends="python3 py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="cdf87f95196880a0f55c740f6340286bb29e96e9273d0c645bbb50def54a0645cce22d971adba3f15ff57b1021a72749219af83abc4e8fa775fb982d8164791d  zope.testing-4.7.tar.gz"
